(function () {
  interface Iperson {
    firstName: string,
    lastName: string
  }

  function getName(obj: Iperson): string {
    return obj.firstName + obj.lastName
  }


  let result = getName({ firstName: "欧阳", lastName: "娜娜" })
  console.log(result)
})()